<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html>

<head>

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">


<title>H+ 后台主题UI框架 - 数据表格</title>
<meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
<meta name="description"
	content="H+是一个完全响应式，基于Bootstrap3最新版本开发的扁平化主题，她采用了主流的左右两栏式布局，使用了Html5+CSS3等现代技术">

<link rel="shortcut icon" href="${ctx}/favicon.ico">
<link href="${ctx}/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="${ctx}/css/font-awesome.css?v=4.4.0" rel="stylesheet">

<!-- Data Tables -->
<link href="${ctx}/css/plugins/dataTables/dataTables.bootstrap.css"
	rel="stylesheet">

<link href="${ctx}/css/animate.css" rel="stylesheet">
<link href="${ctx}/css/style.css?v=4.1.0" rel="stylesheet">

<!-- 全局js -->
<script src="${ctx}/js/jquery.min.js?v=2.1.4"></script>
<script src="${ctx}/js/bootstrap.min.js?v=3.3.6"></script>

<script src="${ctx}/js/bootstrap-paginator.js"></script>
<script src="${ctx}/js/plugins/jeditable/jquery.jeditable.js"></script>


<!-- Data Tables -->
<script src="${ctx}/js/plugins/dataTables/jquery.dataTables.js"></script>
<script src="${ctx}/js/plugins/dataTables/dataTables.bootstrap.js"></script>

<!-- 自定义js -->
<script src="${ctx}/js/content.js?v=1.0.0"></script>


</head>

<body class="gray-bg">
	
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				
				<div class="ibox-tools">
					<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
					</a> <a class="dropdown-toggle" data-toggle="dropdown"
						href="table_data_tables.html#"> <i class="fa fa-wrench"></i>
					</a>
					<ul class="dropdown-menu dropdown-user">
					
					</ul>
					<a class="close-link"> <i class="fa fa-times"></i>
					</a>
				</div>
			</div>
			<div class="ibox-content">

				<div id="DataTables_Table_0_wrapper"
					class="dataTables_wrapper form-inline" role="grid">
					<div class="row">
						<div class="col-sm-6">
						<button class="btn btn-success">增加</button>
						<button class="btn btn-default">删除</button>
						</div>
						<div class="col-sm-6">
							<div id="DataTables_Table_0_filter" class="dataTables_filter">
								<label>查找：<input class="form-control input-sm"
									aria-controls="DataTables_Table_0" type="search"></label>
							</div>
						</div>
					</div>
					<table
						class="table table-striped table-bordered table-hover dataTables-example dataTable"
						id="DataTables_Table_0" aria-describedby="DataTables_Table_0_info">
						<thead>
							<tr role="row">
								<tr role="row">
								<th class="sorting_asc" tabindex="0" ><span></span>申请人</th>
								<th class="sorting_asc" tabindex="0" ><span></span>申请原因</th>
								<th class="sorting_asc" tabindex="0" ><span></span>审核状态</th>
								<th class="sorting_asc" tabindex="0" ><span></span>审核时间</th>
								<th class="sorting_asc" tabindex="0" ><span></span>审核人</th>
								<th class="sorting_asc" tabindex="0" ><span></span>注册日期</th>
								<th class="sorting_asc" tabindex="0" ><span></span>操作        </th>
							</tr>
						</thead>
						<tbody>
							
						</tbody>
						
					</table>
					<div class="col-sm-13">
						<div id="example" style="text-align: right"> <ul id="pageLimit"></ul> </div>
						</div>
					</div>
				</div>

			</div>
		</div>



<script type="text/javascript">

$(function(){
	var currentPage = "1";
	var totalPage ="10";
	$('#pageLimit').bootstrapPaginator({
		currentPage : currentPage,
		totalPages : totalPage,
		size : "normal",
		bootstrapMajorVersion : 3,
		alignment : "right",
		numberOfPages : 5,
		itemTexts : function(type, page, current) {
			switch (type) {
			case "first":
				return "首页";
			case "prev":
				return "上一页";
			case "next":
				return "下一页";
			case "last":
				return "尾页";
			case "page":
				return page;
			}
		},onPageClicked: function (event, originalEvent, type, page) {
			//TODO具体页面操作
		}
	});
});
</script>


</body>

</html>
